﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace Ppbr.Migrations
{
    public partial class initmodule : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.CreateTable(
                name: "Ppbr001",
                columns: table => new
                {
                    ID = table.Column<Guid>(nullable: false),
                    ExtraProperties = table.Column<string>(nullable: true),
                    ConcurrencyStamp = table.Column<string>(nullable: true),
                    MAT_NO = table.Column<string>(maxLength: 20, nullable: false),
                    HEATNO = table.Column<string>(nullable: true),
                    SGSIGN = table.Column<string>(nullable: true),
                    MSCLINENO = table.Column<string>(nullable: true),
                    MATWT = table.Column<int>(nullable: false),
                    STNO = table.Column<string>(nullable: true),
                    MATLEN = table.Column<int>(nullable: false),
                    MATWIDTH = table.Column<int>(nullable: false),
                    MATTHICK = table.Column<int>(nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Ppbr001", x => x.ID);
                });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "Ppbr001");
        }
    }
}
